import 'package:dk_flutter_base/dk_core.dart';
import 'package:dk_flutter_base/dk_ui.dart';
import '../bean/bean_my_info.dart';

class SectionWidget extends StatelessWidget {
  final String title;
  SectionWidget({this.title, bool bottomLineHidden});
  @override
  Widget build(BuildContext context) {
    return Container(
      padding: EdgeInsets.only(left: 28),
      alignment: Alignment.centerLeft,
      height: 50,
      child: Text(this.title??"",
        style: TextStyle(
          color: Color(0xFF333333),
          fontWeight: FontWeight.bold
        ),
      ),
    );
  }
}

class SectionGapWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      height: 10,
      color: Color(0xFFF5F5F5),
    );
  }
}
